Main Page | Class Hierarchy | Class List | Class Members

BustaNetMsgQNode Class Reference

Network Message Queue Node. More...

#include <BustaNetMsgQNode.h>

List of all members.

Public Member Functions

 BustaNetMsgQNode ()
 CONSTRUCTOR.
 BustaNetMsgQNode (BustaNetInternalMsg *newMsg)
 CONSTRUCTOR.
 ~BustaNetMsgQNode ()
 DESTRUCTOR.
BustaNetInternalMsggetMsg ()
 Returns the message contained in the node.
BustaNetMsgQNodegetNext ()
 Returns a pointer to the next node.
void setNext (BustaNetMsgQNode *newNextNode)
 Sets the next node after this node in the message queue.


Detailed Description

Network Message Queue Node.

The class represents a node of the message queue. Each node contains an internal message.

See also:
BustaNetMsgQ

BustaNetInternalMsg


Constructor & Destructor Documentation

BustaNetMsgQNode::BustaNetMsgQNode  ) 
 

CONSTRUCTOR.

Creates an empty message node.

BustaNetMsgQNode::BustaNetMsgQNode BustaNetInternalMsg newMsg  ) 
 

CONSTRUCTOR.

Creates a message node containing the message newMsg

BustaNetMsgQNode::~BustaNetMsgQNode  ) 
 

DESTRUCTOR.

Deletes the node.

Warning:
The message queue structure is NOT kept after this node's deletion!

The associated message is NOT deleted along with the node!


Member Function Documentation

BustaNetInternalMsg * BustaNetMsgQNode::getMsg  ) 
 

Returns the message contained in the node.

Returns the message associated with the message node.

Returns:
A BustaNetInternalMsg pointer referencing an internal message
See also:
BustaaNetInternalMsg

BustaNetMsgQNode * BustaNetMsgQNode::getNext  ) 
 

Returns a pointer to the next node.

Returns a pointer to the next node in the message queue.

Returns:
A pointer to the next node in the message queue

void BustaNetMsgQNode::setNext BustaNetMsgQNode newNextNode  ) 
 

Sets the next node after this node in the message queue.

Sets the next node after this node in the message queue.

Parameters:
newNextNode A pointer to the next node to be placed after this one in the queue


Generated on Tue Aug 2 22:03:12 2005 for BustaSandwich Networking by  doxygen 1.4.2-20050421